package com.hrb.mall.mapper;

import com.hrb.mall.entity.Order;
import com.hrb.mall.entity.OrderItem;


/** 订单的持久层接口 */
public interface OrderMapper {

    /**
     * 插入订单数据
     * @param order
     * @return
     */
    Integer insertOrder(Order order);

    /**
     * *插入订单项
     * @param orderItem
     * @return
     */
    Integer insertOrderItem(OrderItem orderItem);

}
